package com.cq.oa.web.action;

import oa.base.hibernate.BaseClass;
import oa.base.web.Action.BaseAction;

public class WebServiceAction extends BaseAction<BaseClass>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	protected Class<BaseClass> getEntityClass() {
		return BaseClass.class;
	}
    /**
     * 编码
     */
	private int code;
	/**
     * 加密内容
     */
	private String xml;
	/**
     * 调用方法
     */
	private String method;
	
	
	
	
	/**
	 * webservice 服务接口
	 * @return
	 */
	public String service(){
		//业务处理
		
		//返回的 XML 处理串
		this.renderXML("");
		return JSON;
	}




	public int getCode() {
		return code;
	}




	public void setCode(int code) {
		this.code = code;
	}




	public String getXml() {
		return xml;
	}




	public void setXml(String xml) {
		this.xml = xml;
	}




	public String getMethod() {
		return method;
	}




	public void setMethod(String method) {
		this.method = method;
	}
	
	
	
}
